/**
 * 
 */
package com.cnfangmao.masterdata.common.constant;

/**
 * @author user
 *
 */
public enum BasicDataRightConstants {

	NEW(1, "新建"),

	DELETE(2, "删除"),

	MODIFY(6, "修改"),

	PUBLISH(8, "发布"),

	SUBSCRIBE(16, "订阅"),

	MERGE(32, "合并");

	private int code;

	private String description;

	private BasicDataRightConstants(int code, String description) {
		this.code = code;
		this.description = description;
	}

	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

}
